/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.risk.util;

public class BusinessCode {
	/**
	 * 操作成功
	 */
	public static final int MESSAGE_CODE_SUCCESS = 0;
	public static final String MESSAGE_DESCRIPTION_SUCCESS = "SUCCESS";
	
	/**
	 * 操作失败
	 */
	public static final int MESSAGE_CODE_FAIL = -1;
	public static final String MESSAGE_DESCRIPTION_FAIL = "FAIL";
	/**
	 * 数据库连接异常
	 */
	public static final int MESSAGE_CODE_EXCEPTION = 32001;
	public static final String MESSAGE_DESCRIPTION_EXCEPTION = "数据库连接异常";
	/**
	 * 获取用户失败
	 */
	public static final int MESSAGE_CODE_ACTION_EXCEPTION = 10000;
	public static final String MESSAGE_DESCRIPTION_ACTION_EXCEPTION = "获取用户失败,请重新登录";
	/**
	 * 参数校验错误
	 */
	public static final int MESSAGE_CODE_SERVICE_EXCEPTION = 32002;
	public static final String MESSAGE_DESCRIPTION_SERVICE_EXCEPTION = "参数校验错误";
	/**
	 * 流程启动失败
	 */
	public static final int MESSAGE_CODE_FLOW_EXCEPTION = 32003;
	public static final String MESSAGE_DESCRIPTION_FLOW_EXCEPTION = "流程启动失败";

	/**
	 * 流程启动失败
	 */
	public static final int MESSAGE_CODE_CORP_EMPTY_NO_CHANGE_DATA= 32004;
	public static final String MESSAGE_DESCRIPTION_CORP_EMPTY_NO_CHANGE_DATA= "未选中数据";
}
